package net.hn.hnms.biz.wms.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 出库单详情对象 wms_shipment_order_detail
 *
 * @author zcc
 */
@ApiModel(description = "出库单详情对象")
@Data
@TableName("wms_shipment_order_detail")
public class ShipmentOrderDetail extends BaseAudit {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("出库单")
    @ExcelProperty(value = "出库单")
    private Long shipmentOrderId;

    @ApiModelProperty("物料")
    @ExcelProperty(value = "物料")
    private Long itemId;

    @ApiModelProperty("计划数量")
    @ExcelProperty(value = "计划数量")
    private BigDecimal planQuantity;

    @ApiModelProperty("实际数量")
    @ExcelProperty(value = "实际数量")
    private BigDecimal realQuantity;

    @ApiModelProperty("货架")
    @ExcelProperty(value = "货架")
    private Long rackId;

    @ApiModelProperty("金额")
    @ExcelProperty(value = "金额")
    private BigDecimal money;

    @ApiModelProperty("删除标识")
    private Integer delFlag;

    @ApiModelProperty("备注")
    @ExcelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("所属仓库")
    @ExcelProperty(value = "所属仓库")
    private Long warehouseId;

    @ApiModelProperty("所属库区")
    @ExcelProperty(value = "所属库区")
    private Long areaId;

    @ApiModelProperty("出库状态")
    @ExcelProperty(value = "出库状态")
    private Integer shipmentOrderStatus;

}
